﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace Maxel
{
    public class TrackDataGridViewHeaderCell : DataGridViewColumnHeaderCell
    {
        public TrackDataGridViewHeaderCell()
        {
            
        }

        protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, DataGridViewElementStates dataGridViewElementState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
        {
            base.Paint(graphics, clipBounds, cellBounds, rowIndex, dataGridViewElementState, value, formattedValue, errorText, cellStyle, advancedBorderStyle, paintParts);

            graphics.DrawString("Higreryertyryertyeryeryeryeryertyeryertyeryeryrtye", cellStyle.Font, Brushes.Red, cellBounds);
        }

    }
}
